package org.jeecg.entity.charge;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import net.bytebuddy.agent.builder.AgentBuilder;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description: 交易对账表
 * @Author: jeecg-boot
 * @Date:   2020-11-15
 * @Version: V1.0
 */
@Data
@TableName("charge_order_review")
public class ChargeOrderReview implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**delFlag*/
	private String delFlag;
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
	private String id;
	/**备注*/
	private String memo;
	/**机构号*/
	private String orgNo;
	/**projectId*/
	private String projectId;
	/**状态（"00":"待付款","01":"支付中","02":"支付完成","03":"支付失败"“04”:"退款中"“05”:"退款完成"“06”:"退款失败"）*/
	private String status;
	/**状态中文显示*/
	private String statusDesc;
	/**tenantId*/
	private String tenantId;
	/**交易金额（元）*/
	private java.math.BigDecimal transAmt;
	/**交易时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date transDate;
	/**流水号*/
	private String oriTransNo;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;


	//搜索条件 开始时间
	@TableField(exist = false)
	private String startTime;
	//搜索条件 结束时间
	@TableField(exist = false)
	private String endTime;

	@TableField(exist = false)
	private List<ChargeOrderReviewDetail> orderDetails;
}
